﻿using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Web.Models.VersionData
{
    /// <summary>
    /// 
    /// </summary>
    [Table("versionlib")]
    public class VersionLib
    {
        /// <summary>
        /// 消息唯一标识
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Column("id")]
        public Guid Id { get; set; }

        [Required]
        [Column("shortName")]
        public String ShortName { get; set; }

        /// <summary>
        /// 项目名
        /// </summary>
        [Column("projectName")]
        public String ProjectName { get; set; }

        /// <summary>
        ///  程序库描述
        /// </summary>
        [Column("description")]
        public string Description { get; set; }

        /// <summary>
        ///  当前版本
        /// </summary>
        [Column("latestVersion")]
        public string LatestVersion { get; set; }

        /// <summary>
        ///  更新时间
        /// </summary>
        [Column("updateTime")]
        public DateTime UpdateTime { get; set; }

        
    }
}
